package com.qd.hik.dto.invoice;

import com.qd.hik.dto.HkPageReq;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 开票
 *
 * @author sjk
 * @create 2024-05-29 15:40
 * @since 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class HkInvoiceAbleParkingBillsReq extends HkPageReq {
    /**
     * 驾驶人 id
     */
    @NotNull(message = "驾驶人ID不能为空")
    private Integer driverId;

    public void freeData() {
        this.driverId = null;
        super.freeData();
    }
}